/*
 * Created by: vadikv
 * Created: Tuesday, March 04, 2008
 */

using Microsoft.VisualStudio.TestTools.UnitTesting;
using OneDayModel.Tests.Fits.UIUsers;
using TestUtils;

namespace OneDayModel.Tests.Fits.Runners
{
    

    [TestPrerequisite("AttributesDefinition.htm")]
    [TestPrerequisite("RolsDefinitions.htm")]
    [TestClass]
    public class NewUserProfileRunner : BaseLogicRunner
    {

        protected override string TestName
        {
            get { return "NewUserProfile.htm"; }
        }

        [TestMethod]
        public void NewUserProfileTest()
        {
            TestRun();
        }
    }
    
    [TestClass]
    public class NewUserUniqAliasRunner : BaseLogicRunner
    {
        public NewUserUniqAliasRunner()
        {
            ContextManager.TestContext[typeof (UsersFactory).ToString()] = new UsersFactory();
        }

        protected override string TestName
        {
            get { return "NewUserUniqAlias.htm"; }
        }

        [TestMethod]
        public void NewUserUniqAliasTest()
        {
            TestRun();
        }
    }
    
    [TestClass]
    public class NewUserConfirmationRunner : BaseLogicRunner
    {

        protected override string TestName
        {
            get { return "NewUserConfirmation.htm"; }
        }

        [TestMethod]
        public void NewUserConfirmationTest()
        {
            TestRun();
        }
    }
    
    [TestClass]
    public class NewUserEMailAlreadyExistRunner : BaseLogicRunner
    {

        protected override string TestName
        {
            get { return "NewUserEMailAlreadyExist.htm"; }
        }

        [TestMethod]
        public void NewUserEMailAlreadyExistTest()
        {
            TestRun();
        }
    }
    
    [TestClass]
    public class NewUserRequiredAttributesFilledRunner : BaseLogicRunner
    {

        protected override string TestName
        {
            get { return "NewUserRequiredAttributesFilled.htm"; }
        }

        [TestMethod]
        public void NewUserRequiredAttributesFilledTest()
        {
            TestRun();
        }
    }

    

}